'''
爬取萍乡学院官网的页面信息，将爬取到的页面保存到“D:\\萍乡学院.html”
'''

import requests

# 爬取界面信息
request = requests.get('https://www.pxc.jx.cn/')
request.encoding = 'utf-8'

# 写入文件
file = open('D:\\萍乡学院.html','w',encoding='utf-8')
file.write(request.text)
file.close()
print('保存成功')
